package GUI;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
import java.util.Vector;
import javax.swing.DefaultRowSorter;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.RowFilter;
import javax.swing.RowSorter;
import javax.swing.border.LineBorder;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import javax.swing.text.TableView.TableRow;

import CommonGui.NotEdditibleTable;
import DataObjects.ConstantObjects;
import Messages.MessageSavingReply;

public class PfOrderItem extends JPanel  {
	private NotEdditibleTable dtm;              //extends DefaultTableModel
	private MainMenu mainMenu;
	private Vector<String> item;           
	private JTable tbl;
	private VKTextField nameTF;
	private VKTextField lastNameTF;
	private RowSorter<DefaultTableModel> sorterCategory;
	private RowSorter<DefaultTableModel> sorterName;
	private RowSorter<DefaultTableModel> sorterQuantity;
	private RowSorter<DefaultTableModel> sorterMinQuantity;
	private RowSorter<DefaultTableModel> sorterMaxQuantity;
	
	public PfOrderItem(MainMenu mm, Vector<String> item)
	{
		super();
		this.setLayout(new BorderLayout());
		this.mainMenu=mm;
		this.item=item;
		initiliaze();
	}	
	
	private void initiliaze()
	{
		JScrollPane scrollPane = new JScrollPane();
		this.add(scrollPane,BorderLayout.CENTER);
	}
	
	
	
}
	


